﻿
using NetCourse.Framework.Database;

namespace Xmu.Stores.Models
{
    // 报名类
    public class Registration : EntityBase
    {
        public Guid ID { get; set; }
        public string Name { get; set; }
        public DocumentType DocumentType { get; set; }
        public string DocumentNumber { get; set; }
        public WorkPlace Workplace { get; set; }
        public string PhoneNumber { get; set; }
        public Gender Gender { get; set; }
        public string Bank { get; set; }
        public string BankAccountNumber { get; set; }
        public Campus ExamCampus { get; set; }
        public PickUpLocation PickUpLocation { get; set; }
        public bool ParticipatedLastYear { get; set; }
        public Guid ExamID { get; set; }

        // Navigation property for ExamSubject
        public Exam Exam { get; set; }
    }

    public enum DocumentType
    {
        TeachingCard,
        IDCard,
        Passport,
        HKMCTP
    }

    public enum Gender
    {
        Male,
        Female,
        Other
    }

    public enum Campus
    {
        Siming,
        Haiyun,
        XiangAn
    }

    public enum WorkPlace
    {
        SchoolOfInformatics,
        SchoolOfMathematics,
        SchoolOfPhysics,
        SchoolOfChemistry,
        SchoolOfBiology,
        SchoolOfEconomics
    }

    public enum PickUpLocation
    {
        GuoGuang,
        YingXue,
        FuRong
    }

}
